package com.moyun.finance.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 客户实体类
 */
@Entity
@Data
public class Customer {
    @Id
    private String id;

    private String companyId;//关联公司id

    private String customerName;//客户名称

    private String customerType;//客户类型

    private String leadingName;//负责人姓名

    private String leadingPhone;//负责人手机号

    private String leadingEmail;//负责人邮箱

    private String customerTelPhone;//客户公司座机

    private int star;//是否常联系(星标好友) 0:否 默认  1:是

    private int invoice;//是否开票 0:否  1:是

    private String invoiceName;//开票抬头

    private String invoiceNum;//税号

    private String openingBank;//开户行

    private String bankCardId;//银行卡账号

    private String address;//开户行地址

    private String bankCardPhone;//银行卡预留手机号

    private String allTypeId;//子类别id
}